package day240315.e2;

public class ScissorsTest {
    public static void compare(int computer, int user) {
        int flag = computer - user;
        if (flag == -1 || flag == 2) {
            System.out.println("You lost");
        } else if (flag == 0) {
            System.out.println("Draw");
        } else System.out.println("You win");
    }

    public static void main(String[] args) {
        User user = new User();
        user.getUserInput();

        Computer computer = new Computer();
        computer.getComputerInput();

        compare(computer.pose, user.pose);
    }
}
